﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Optimization;

namespace MvcSimpleQuery
{
    public class BundleConfig
    {
        /// <summary>
        /// Registers all of the bundles required for the plugin
        /// </summary>
        /// <example>
        /// <code>
        /// ...
        ///    BundleConfig.RegisterBundles(BundleTable.Bundles);
        /// ...
        /// </code>
        /// </example>
        /// <param name="bundles"></param>
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/SimpleQuery").Include(
             "~/Scripts/SimpleQuery.js"));

            bundles.Add(new StyleBundle("~/Content/SimpleQuery").Include(
               "~/Content/TreeView/css/treeviews.css"
               , "~/Content/TreeView/css/SimpleQuery.css"
               ,"~/Content/jqBootstrapValidation.js"
               ));

 


            bundles.Add(new StyleBundle("~/Content/AutoDrop").Include(
             "~/Content/autodrop/css/bootstrap-autodrop.css"
             ));
            
            bundles.Add(new ScriptBundle("~/bundles/AutoDrop").Include(
             "~/Content/autodrop/js/bootstrap-autodrop.js"
             ));

            
        }
    }
}
